import random

# print(round(random.random(),3))
# print(round(random.random()*100))
#
# def flip_coin():
#     if random.random() >= 0.5:
#         return "heads"
#     else:
#         return "tails"
#
# print(flip_coin())

# print(random.randint(1, 100))
# print(random.randint(1, 2))

# def roll_dice():
#     return random.randint(1, 6)
# print(roll_dice())

# print(random.choice([11,22,33,44,55]))

# def draw_prize():
#     participants = ['Alice', 'Bob', 'Charlie', 'David', 'Eve']
#     return random.choice(participants)
#
# print(draw_prize())

# print(random.sample([11,22,33,44,55], 3))
ret = random.sample(range(1, 34), 6)
ret = [str(i) for i in ret]
ret.append(str(random.randint(1, 16)))
print(f"红色球：{' '.join(ret[:-1])} \n蓝色球：{ret[-1]}")